package com.example.demo.Controller;


import com.example.demo.config.WebSocketConfig;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.HashMap;
import java.util.Map;

public class UserController {

    @RequestMapping(method = RequestMethod.POST.consumes = "application/json")
    public  @RequestBody Map<String,Object> userWebSocket(@RequestBody Map<String,Object>parames){
        val result=new HashMap<String,Object>();
        try {
            result.put("operResult",true);
        }catch(Exception e)
    }
}
